#ifndef __PI_RW_H__
#define __PI_RW_H__
#include "pi_test.h"

/* 打开 PI 设备 */
int open_pi(void *parent, const char *name, struct pi_dev_t *dev, uint8_t index);
/* 接收 PI 数据线程函数 */
void *recv_pi_thread(void *arg);

#endif /* __PI_RW_H__ */
